package com.lottery.material.service.portal.portaluser;

import com.lottery.material.dto.portal.PortalUserInfoDto;
import com.lottery.material.entity.portaluser.PortalUserInfo;
import com.lottery.material.service.base.BaseService;

import java.util.Optional;

public interface PortalUserInfoService extends BaseService<PortalUserInfo, Integer> {
    PortalUserInfo findById(Integer id);
    Optional<PortalUserInfo> findByLoginPhoneNumberAndUserStatusNot(String phoneNumber,Integer userStatus);
    Optional<PortalUserInfo> findByUserId(String userId);
    PortalUserInfoDto findMyPortalUserInfoDtoByUserId(String userId);

//    PortalUserInfoDto findPortalUserInfoDtoByUserId(String userId);
}
